<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            display: inline-block;
            background-color: blue;
            width: 100%;
            height: 100%;
        }
        span {
            background-color: blue;
            width: 100px;
            height: 100px;
        }

    </style>
</head>
<body>
<div>
    aaaaaaaaaaaaaaaaaaaaaaaaaaa
</div>
<div>
    bbbbbbbbbbbbbbbbbb
</div>
<br>
<span>bbbb</span>
<span>bbbb</span>
</body>
</html>